/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.sanerzone.smscenter.modules.sms.entity;

import com.sanerzone.jeebase.common.persistence.DataEntity;
import org.hibernate.validator.constraints.Length;

/**
 * 退订关键字管理Entity
 * @author xql
 * @version 2018-04-15
 */
public class UnsubKeyword extends DataEntity<UnsubKeyword> {
	
	private static final long serialVersionUID = 1L;
	private String keyword;		// keyword
	private String operater;		// operater
	private String level;		// level
	private String matchType;		// match_type
	private String remark;		// remark
	
	public UnsubKeyword() {
		super();
	}

	public UnsubKeyword(String id){
		super(id);
	}

	@Length(min=0, max=100, message="keyword长度必须介于 0 和 100 之间")
	public String getKeyword() {
		return keyword;
	}

	public void setKeyword(String keyword) {
		this.keyword = keyword;
	}
	
	@Length(min=0, max=50, message="operater长度必须介于 0 和 50 之间")
	public String getOperater() {
		return operater;
	}

	public void setOperater(String operater) {
		this.operater = operater;
	}
	
	@Length(min=0, max=1, message="level长度必须介于 0 和 1 之间")
	public String getLevel() {
		return level;
	}

	public void setLevel(String level) {
		this.level = level;
	}
	
	@Length(min=0, max=10, message="match_type长度必须介于 0 和 10 之间")
	public String getMatchType() {
		return matchType;
	}

	public void setMatchType(String matchType) {
		this.matchType = matchType;
	}
	
	@Length(min=0, max=255, message="remark长度必须介于 0 和 255 之间")
	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}
	
}